﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace web01.Models.DO
{
    [Table("Person")]
    public class Persons
    {
        [Key]
        [Display(Name ="主键")]
        public int Id { get; set; }
    
        [Required]
        [MaxLength(100)]
        [Display(Name ="姓名")]
        public string  Name { get; set; }
        [Display(Name ="状态")]
        public int  status { get; set; }
        
    }
}